<div style="width: 90%;">
    <table width="100%">
        <tr>
            <td align="center" style="font-size: xx-large">OUR REFERENCES</td>
            <td align="center"> </td>
        </tr>
    </table>
    <table align="center">
        <thead>
            <tr>
                <th colspan="3"></th>
            </tr>
        </thead>
        <?php foreach ($list_references as $aRow): ?>
        <?php
            $title = $aRow['title'];

            $image = './assets/actuimg/thumbs/' . $aRow['images'];
            if (file_exists($image) && $aRow['images'] != null) {
                $image = base_url() . 'assets/actuimg/thumbs/' . $aRow['images'];
            } else {
                $image = base_url() . 'assets/noimage.gif';
            }
        ?>
            <tr>
                <td width="10%" valign="top" colspan="2">
                    <p><a href="<?php echo site_url('home_references/detail_references'.'/'.$aRow['id'])?>"><img border="0" src="<?php echo $image; ?>" width="60" alt=""/></a></p>
                </td>
                <td>
                    <p style="font-weight: bold;"><a href="<?php echo site_url('home_references/detail_references'.'/'.$aRow['id'])?>"><?php echo $aRow['title']; ?></a></p>
                    <p><?php echo get_short_description($aRow['intro'],10); ?></p>
                </td>
        </tr>
        <?php endforeach; ?>
    </table>
    <?php echo $pagination; ?>
</div>
<!--END wrapper-content-->
